package cn.cjj.gulimall.product.feign;

import cn.cjj.common.to.es.SkuEsModel;
import cn.cjj.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author CuiJunJie
 * @create 2021/6/21-20:34
 */
@FeignClient("gulimall-search")
public interface SearchFeignService {
    @RequestMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
